<form action="<?php echo url_for('iteracion/agregar') ?>" method="POST">
   <div id="barra" align="right" style="background:#B8D8C4; >">
   	   <a href="<?php echo url_for('iteracion/busqueda' , true) ?>"  accesskey="r">Volver</a><br />
       <a href="<?php echo url_for('proyecto/vista' , true) ?>"  accesskey="r"><span class="style1"></span>Visualizar Proyecto</a>  
  </div>
   <div align="center">
      <h2><strong>Iteraciones del Proyecto </strong><?php echo $sf_user->getAttribute(
	'proyecto_nombre'); ?></h2>     
   </div>
  <span class="style1">
  <label>
  </label>
  </span>
  <div align="center">
    <h4 align="left">Agregar Nueva Iteraci&oacute;n<span class="style3">
    </span> </h4>
  </div> 
  <table width="548" border="0" align="center">
    <tr>
      <td width="144">Fecha de Inicio </td>
      <td width="201"><label>
        <?php $sf_user->setCulture('es_ES') ?>
		<?php use_helper('DateForm') ?>	  
		<?php echo select_day_tag('dia', 1) ?>
		<?php echo select_month_tag('mes', 1) ?>		
	    <?php echo select_year_tag('ano', 2007, 'year_end=2018') ?></label></td>
	  <td style="color:#CC0000"><?php echo $fecha_erronea ?></td>
    </tr>
    <tr>
      <td>Fecha de Finalizaci&oacute;n </td>
      <td>        
	  <?php $sf_user->setCulture('es_ES') ?>
	  <?php use_helper('DateForm') ?>	  
	  <?php echo select_day_tag('dia1', 1) ?>
	  <?php echo select_month_tag('mes1', 1) ?>		
      <?php echo select_year_tag('ano1', 2007, 'year_end=2018') ?>		</td>
	  <td style="color:#CC0000"><?php echo $fecha_erronea1 ?></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><div align="right">
        <input type="submit" name="Submit2" value="Agregar" style="background:#CCCCCC; border:outset;"/>
      </div></td>
      <td>&nbsp;</td>
    </tr>
  </table>
  <p>&nbsp;</p>
 </form>

 <form action="<?php echo url_for('iteracion/iteracion1') ?>" method="POST">
  <span class="style1">
  <label>
  </label>
  </span>
  <div align="center"></div>
  <div align="center"><span class="style3">
    </span>
	<table width="547" class="table_style">
	<thead>
	<tr>
		<th width="1"><strong> </strong></th>
		<th width="68"><strong>Numero </strong></th>
		<th width="208"><strong>Fecha de Inicio</strong></th>
		<th width="250"><strong>Fecha de Finalizacion</strong></th>		
	</tr>
	</thead>
	<tbody>
    <?php echo $tabla_iteracion ?>
	</tbody>
	</table>	
    <table width="552" border="0">
      <tr>
       <td width="411"><div align="right">
         <input type="submit" name="Submit4"  value="Asignar Requerimiento" style="
		background:#CCCCCC; border:outset;"/>
       </div></td>
	   <td width="131"><div align="right">
	     <input type="submit" name="Submit4"  value="Eliminar Iteracion" style="
	    background:#CCCCCC; border:outset;"/>
        </div></td>
    </tr>
    </table>
  </div>
 </form>